/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function resultadoContacto(request){
    var div = document.getElementById("div_contacto");
    var contacto = request.responseText;
    if(contacto == "true"){
        div.innerHTML = "Usted ya es contacto";
    }else if(contacto == "mismo"){
        div.innerHTML = "Es usted mismo";
    }else{
        div.innerHTML = '<a href="javascript:contactar();">Contactar</a>';
    }
}